-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CLI-80: users blocks commands #219
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good, just need some adjustments 💪🏻 . Please ask the user to input the user ID, and have the delete command be users unblock
.
@@ -30,7 +30,7 @@ var requiredScopes = []string{ | |||
"create:clients", "delete:clients", "read:clients", "update:clients", | |||
"create:resource_servers", "delete:resource_servers", "read:resource_servers", "update:resource_servers", | |||
"create:rules", "delete:rules", "read:rules", "update:rules", | |||
"read:client_keys", "read:logs", | |||
"read:client_keys", "read:logs", "read:users", "update:users", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't need delete?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not yet, deleting user blocks only require update:users
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a comment on Flag vs Argument.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for all the hard work!
Original PR: #201
Description
Add commands for managing brute force protection blocks
References
https://auth0team.atlassian.net/browse/CLI-80
https://auth0.com/docs/api/management/v2#!/User_Blocks/delete_user_blocks
https://github.com/go-auth0/auth0/blob/master/management/user.go#L423-L449